<?php
class PermissionModel extends Orm_Base{
    public $table = 'permission';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'role' => array('type' => "tinyint(2)",'comment' => '角色'),
        'permission' => array('type' => "tinyint(2)",'comment' => '权限'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
} 
?>
